@(species:String)
@title = @{
    species match{
        case "Hordeum_vulgare" => "Hordeum vulgare (IBSC v2)"
        case "Hordeum_vulgare_goldenpromise" => "Hordeum vulgare GoldenPromise (GPv1)"
        case "Hordeum_vulgare_tritex" => "Hordeum vulgare TRITEX (Morex_V2_scaf)"
    }
}
@config.main("Genome-" +title){
    @config.mainBox(title){

        <div id="table-check" class="my-checkbox"></div>
        <table class="table table-hover" id="table" data-pagination="true" data-advanced-sortable="true"
        data-page-list="[10]">

        </table>

        <script src="@routes.Assets.versioned("config/genomeTable.js")" type="text/javascript"></script>

        <script>
                $(function () {
                    const columns =  getTableColumns(tableHead,"table")
                    $("#table").bootstrapTable({
                        method:"post",
                        url:"@routes.GenomeController.getGenomeData(species)",
                        sidePagination: "server",
                        contentType: "application/x-www-form-urlencoded",
                        columns:columns
                    })


                })

        </script>



    }
}